package cn.edu.tju.elm.service;

import cn.edu.tju.elm.model.Food;

import java.util.List;
import java.util.Optional;

public interface FoodService {
    Optional<Food> findById(Long id);
    List<Food> findAll();
    List<Food> findByBusinessId(Long businessId);
    Food save(Food food);
    void deleteById(Long id);
}